package com.tree.backend.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tree.backend.common.Result;
import com.tree.backend.entity.dto.CustomerDTO;
import com.tree.backend.entity.dto.UserDTO;
import com.tree.backend.entity.pojo.User;
import com.tree.backend.entity.vo.CustomerVO;
import com.tree.backend.entity.vo.UserVO;

/**
 * <p>
 * 用户服务接口
 * </p>
 *
 * @author tree
 * @since 2025-11-04
 */
public interface IUserService extends IService<User> {

    Result<UserVO> login(UserDTO userDTO);
    Result<Page<UserVO>> getList(UserDTO userDTO);
    Result<UserVO> getCurrentUser();
}
